/// name : "测试应急班"
/// type : "1654746492948271169"
/// lon : 112.573748615
/// lat : 37.8780823429
/// address : "太原市杏花岭区教场巷40号"
/// content : "测试"
/// parentId : "-1"
/// teamLevel : "1"
/// teamHeadImgUrl : ""
/// areaXzqh : "140107005"

class OrganizationCreateDto {
  OrganizationCreateDto({
      String? name, 
      String? type, 
      num? lon, 
      num? lat, 
      String? address, 
      String? content, 
      String? parentId, 
      String? teamLevel, 
      String? teamHeadImgUrl, 
      String? areaXzqh,}){
    _name = name;
    _type = type;
    _lon = lon;
    _lat = lat;
    _address = address;
    _content = content;
    _parentId = parentId;
    _teamLevel = teamLevel;
    _teamHeadImgUrl = teamHeadImgUrl;
    _areaXzqh = areaXzqh;
}

  OrganizationCreateDto.fromJson(dynamic json) {
    _name = json['name'];
    _type = json['type'];
    _lon = json['lon'];
    _lat = json['lat'];
    _address = json['address'];
    _content = json['content'];
    _parentId = json['parentId'];
    _teamLevel = json['teamLevel'];
    _teamHeadImgUrl = json['teamHeadImgUrl'];
    _areaXzqh = json['areaXzqh'];
  }
  String? _name;
  String? _type;
  num? _lon;
  num? _lat;
  String? _address;
  String? _content;
  String? _parentId;
  String? _teamLevel;
  String? _teamHeadImgUrl;
  String? _areaXzqh;
OrganizationCreateDto copyWith({  String? name,
  String? type,
  num? lon,
  num? lat,
  String? address,
  String? content,
  String? parentId,
  String? teamLevel,
  String? teamHeadImgUrl,
  String? areaXzqh,
}) => OrganizationCreateDto(  name: name ?? _name,
  type: type ?? _type,
  lon: lon ?? _lon,
  lat: lat ?? _lat,
  address: address ?? _address,
  content: content ?? _content,
  parentId: parentId ?? _parentId,
  teamLevel: teamLevel ?? _teamLevel,
  teamHeadImgUrl: teamHeadImgUrl ?? _teamHeadImgUrl,
  areaXzqh: areaXzqh ?? _areaXzqh,
);
  String? get name => _name;
  String? get type => _type;
  num? get lon => _lon;
  num? get lat => _lat;
  String? get address => _address;
  String? get content => _content;
  String? get parentId => _parentId;
  String? get teamLevel => _teamLevel;
  String? get teamHeadImgUrl => _teamHeadImgUrl;
  String? get areaXzqh => _areaXzqh;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['name'] = _name;
    map['type'] = _type;
    map['lon'] = _lon;
    map['lat'] = _lat;
    map['address'] = _address;
    map['content'] = _content;
    map['parentId'] = _parentId;
    map['teamLevel'] = _teamLevel;
    map['teamHeadImgUrl'] = _teamHeadImgUrl;
    map['areaXzqh'] = _areaXzqh;
    return map;
  }

}